package lormi.meipin.vo;

import lormi.meipin.entity.City;

public class CityVo implements Comparable<CityVo>{
    private String letter;

    private City city;
    
    public CityVo(String letter,City city){
    	this.letter=letter;
    	this.city=city;
    }

	public String getLetter() {
		return letter;
	}

	public void setLetter(String letter) {
		this.letter = letter;
	}

	public City getCity() {
		return city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	@Override
	public int compareTo(CityVo arg0) {
		return this.getLetter().compareTo(arg0.getLetter());
	}
    
    
}